import axios from "../http"

enum Api{
    login='api/user/login'
}

export const userLogin=(param:any)=>{
    return axios({
        url:Api.login,
        method:'POST',
        data:param
    })
}